using System;
using System.Web.UI;
using ASPNETVN.PORTAL.Components.UI;
using ASPNETVN.PORTAL.Components.Security;

namespace ASPNETVN.PORTAL.Modules.SECURITY.Controls
{
    public partial class Roles : ModulePage
    {
        protected void Page_Load(object sender, EventArgs e)
        {
        }

        protected void btnAddNewRole_Click(object sender, ImageClickEventArgs e)
        {
            Role.InsertRole(Global.PortalID, txtName.Text, txtDescription.Text);
            gvRole.DataBind();
        }
    }
}